package com.tuda.system.model.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tuda.common.annotation.Excel;
import com.tuda.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName OrderRecordResult
 * @Description TODO
 * @Author Admin
 * @Date 2023/10/12 15:03
 * @Version 1.0
 **/
public class OrderRecordResult extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long orderId;
    private Long userId;
    @Excel(name = "建单人")
    private String createUser;
    @Excel(name = "提验人")
    private String vehicleInspector;
    @Excel(name = "业务员")
    private String userName;
    @Excel(name = "委托人")
    private String client;
    @Excel(name = "委托人电话")
    private String clientPhone;
    @Excel(name = "车型")
    private String vehicleModel;
    @Excel(name = "车架号")
    private String vin;
    @Excel(name = "起始地")
    private String origin;
    @Excel(name = "目的地")
    private String dest;
    @Excel(name = "接车人电话")
    private String receiverPhone;
    @Excel(name = "运费金额")
    private BigDecimal freightAmount;
    @Excel(name = "预付款")
    private BigDecimal paidAmount;
    @Excel(name = "支付方式/ 1 到付，2 现付，3 欠付，4 已还款")
    private Long payType;
    @Excel(name = "3 待发运， 4 运输中，6 已完成， 7 异常")
    private Long orderType;
    @Excel(name = "建单日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createOrderTime;

    @Excel(name = "收入明细")
    private String incomeDetails;
    @Excel(name = "收入金额")
    private BigDecimal incomeAmount;
    @Excel(name = "支出明细")
    private String expenditureDetails;
    @Excel(name = "支出金额")
    private BigDecimal expenditureAmount;

    private BigDecimal sumIncomeAmount;

    private BigDecimal sumExpenditureAmount;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getVehicleInspector() {
        return vehicleInspector;
    }

    public void setVehicleInspector(String vehicleInspector) {
        this.vehicleInspector = vehicleInspector;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public String getClientPhone() {
        return clientPhone;
    }

    public void setClientPhone(String clientPhone) {
        this.clientPhone = clientPhone;
    }

    public String getVehicleModel() {
        return vehicleModel;
    }

    public void setVehicleModel(String vehicleModel) {
        this.vehicleModel = vehicleModel;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getDest() {
        return dest;
    }

    public void setDest(String dest) {
        this.dest = dest;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public BigDecimal getFreightAmount() {
        return freightAmount;
    }

    public void setFreightAmount(BigDecimal freightAmount) {
        this.freightAmount = freightAmount;
    }

    public BigDecimal getPaidAmount() {
        return paidAmount;
    }

    public void setPaidAmount(BigDecimal paidAmount) {
        this.paidAmount = paidAmount;
    }

    public Long getPayType() {
        return payType;
    }

    public void setPayType(Long payType) {
        this.payType = payType;
    }

    public Long getOrderType() {
        return orderType;
    }

    public void setOrderType(Long orderType) {
        this.orderType = orderType;
    }

    public Date getCreateOrderTime() {
        return createOrderTime;
    }

    public void setCreateOrderTime(Date createOrderTime) {
        this.createOrderTime = createOrderTime;
    }

    public String getIncomeDetails() {
        return incomeDetails;
    }

    public void setIncomeDetails(String incomeDetails) {
        this.incomeDetails = incomeDetails;
    }

    public BigDecimal getIncomeAmount() {
        return incomeAmount;
    }

    public void setIncomeAmount(BigDecimal incomeAmount) {
        this.incomeAmount = incomeAmount;
    }

    public String getExpenditureDetails() {
        return expenditureDetails;
    }

    public void setExpenditureDetails(String expenditureDetails) {
        this.expenditureDetails = expenditureDetails;
    }

    public BigDecimal getExpenditureAmount() {
        return expenditureAmount;
    }

    public void setExpenditureAmount(BigDecimal expenditureAmount) {
        this.expenditureAmount = expenditureAmount;
    }

    public BigDecimal getSumIncomeAmount() {
        return sumIncomeAmount;
    }

    public void setSumIncomeAmount(BigDecimal sumIncomeAmount) {
        this.sumIncomeAmount = sumIncomeAmount;
    }

    public BigDecimal getSumExpenditureAmount() {
        return sumExpenditureAmount;
    }

    public void setSumExpenditureAmount(BigDecimal sumExpenditureAmount) {
        this.sumExpenditureAmount = sumExpenditureAmount;
    }
}
